<?php

namespace @namespace\Controller;

class @entidadeController extends @moduloAppController {

    protected $controller_name = "@controller_name";

    public function indexAction(){
        $this->index();
    }

    public function addAction()
    {
        @getForeign
        $this->add();
    }

    public function editAction($id)
    {
        @getForeign
        $this->edit($id);
    }

    public function viewAction($id){
        $this->view($id);
    }

    public function delAction(){
        $this->del();
    }

    public function pdfAction(){
        $this->exportPdf();
    }

    public function csvAction(){
        $this->exportCSV();
    }

    @status_function

}